import Cookies from 'js-cookie'

const TokenKey = 'token-B'

export function getToken() {
  return Cookies.get(TokenKey)
}
export function getTokenType() {
  return Cookies.get('tokenType')
}
export function getNameCookie(){
  return Cookies.get('account-B')
}
export function setToken(name,token) {
  return Cookies.set(name,token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}
